﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="MenuTopDetail.ascx.vb"
    Inherits="FrontEnd_Control_Menus_MenuTopDetail" %>
<%@ Import Namespace="Cls_Common" %>
<%@ Register Src="../Login.ascx" TagName="Login" TagPrefix="uc1" %>
<%@ Register Src="../Users/Login.ascx" TagName="Login" TagPrefix="uc2" %>
<script type="text/javascript">
    $(function () {
        $('.headbar-items ul li a.clickshow ,div#jsid-header-funny-menu-items').mouseover(function () {
            $("#jsid-header-funny-menu-items").removeClass("hide");
        }).mouseout(function () {
            $("#jsid-header-funny-menu-items").addClass("hide");
        });
    });
</script>
<div class="nav-wrap">
    <h1>
        <a href='<%=Maindomain + "index.html" %>'>Corner14</a></h1>
    <div class="headbar-items">
        <ul>
            <asp:Repeater ID="rptMenu" runat="server">
                <ItemTemplate>
                    <li>
                        <asp:HyperLink ID="hplTitle" runat="server" /></li>
                    <asp:Literal ID="ltrDivMenuSub1" runat="server" />
                    <asp:Repeater ID="rptMenuSub" runat="server" OnItemDataBound="rptMenuSub_ItemDataBound">
                        <ItemTemplate>
                            <li>
                                <asp:HyperLink ID="hplTitle" runat="server" /></li>
                        </ItemTemplate>
                    </asp:Repeater>
                    <asp:Literal ID="ltrDivMenuSub2" runat="server" />
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <!--user-->
    <div class="links_user" style="display: none;">
        <ul>
            <li>
                <img src='<%=ResolveUrl("~/images/icon_div.png")%>'></li>
            <li>Chào bạn:<asp:Label ID="lblUserName" runat="server"></asp:Label></li>
            <li>
                <img src='<%=ResolveUrl("~/images/icon_div.png")%>'></li>
            <li>
                <asp:LinkButton ID="lbtMyYduoc" runat="server" Text="My YDuoc360"></asp:LinkButton>
            </li>
            <li>
                <img src='<%=ResolveUrl("~/images/icon_div.png")%>'></li>
            <li>
                <asp:LinkButton ID="lbtLogout" runat="server" Text="Thoát"></asp:LinkButton>
            </li>
        </ul>
    </div>
    <!--user-->
    <div class="visitor-function">
        <a class="badge-login-button link" href=''>Đăng nhập</a> <a class="badge-signup-button link"
            href=''>Sign up</a>
        <div class="upload">
            <a class="badge-signup-button upload" href="https://corner14.com/signup">Upload</a>
        </div>
    </div>
    <div class="download-function">
        <a id="jsid-header-download-menu" class="mobile" href="javascript:void(0);">Mobile</a>
        <div id="jsid-header-download-menu-items" class="popup-menu download hide">
            <span class="arrow-wrap"><span class="arrow"></span></span>
            <ul>
                <li><a href='<%=Maindomain + "iphone.html"%>'>target="_blank" onclick="GAG.GA.track('iPhone-App',
                    'Clicked-Download', 'Nav');"> Download for iOS</a></li>
                <li><a href='<%=Maindomain + "android.html"%>'>target="_blank" onclick="GAG.GA.track('Android-App',
                    'Clicked-Download', 'Nav');"> Download for Android</a></li>
                <li><a href='<%=Maindomain + "blackberry.html"%>'>target="_blank" onclick="GAG.GA.track('Blackberry-App',
                    'Clicked-Download', 'Nav');"> Download for Blackberry</a></li>
            </ul>
        </div>
    </div>
    <%--<form id="headbar-search" class="badge-header-search" action="http://corner14.com/search">
    <input type="text" name="query" id="jsid-search-input" class="ui-autocomplete-input search search_input"
        data-placeholder="Search&#8230;" tabindex="1" />
    <div class="ui-widget">
    </div>
    </form>--%>
</div>
<div style="display: none">
    <asp:HiddenField ID="hidId" runat="server" Value="" />
</div>
